Q3Group_SetPositionObject
You can use theQ3Group_SetPositionObject
function to set the object located at a certain position in a group.
TQ3Status Q3Group_SetPositionObject ( TQ3GroupObject group, TQ3GroupPosition position, TQ3Object object);
group
- A group.
position
- A group position.
object
- An object.
DESCRIPTION
TheQ3Group_SetPositionObject
function sets the object having the position specified by theposition
parameter in the group specified by thegroup
parameter to the object specified by theobject
parameter. The object previously occupying that position is disposed of. The reference count ofobject
is incremented.
Q3GroupPosition_SetObject
returns, as its function result, either a pointer to the object installed in the specified position, orNULL
if an error occurs.ERRORS
kQ3ErrorInvalidObject
kQ3ErrorInvalidObjectForGroup
kQ3ErrorInvalidObjectForPosition
kQ3ErrorInvalidPositionForGroup